* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', 'Microsoft YaHei', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
	--primary: #ff6b9d;
	--secondary: #ff8fb1;
	--accent: #ffb6c1;
	--light: #fff5f7;
	--dark: #333;
	--shadow: 0 8px 32px rgba(255, 107, 157, 0.2);
	--glass-bg: rgba(255, 255, 255, 0.15);
	--glass-border: rgba(255, 107, 157, 0.2);
}

body {
	background: linear-gradient(135deg, rgba(255, 245, 247, 0.15) 0%, rgba(255, 238, 241, 0.15) 100%);
	color: var(--dark);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem;
	position: relative;
	overflow-x: hidden;
	background-attachment: fixed;
	user-select: none;
}

body::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(255, 182, 193, 0.05) 0%, transparent 50%);
	z-index: -1;
}

.container {
	max-width: 1200px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 4rem);
	margin: 0 auto;
}

.dashboard {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2.5rem;
	width: 100%;
	margin-bottom: 2rem;
	align-self: center;
}

.header {
	text-align: center;
	margin-bottom: 2.5rem;
	width: 100%;
	padding: 2rem;
	background: var(--glass-bg);
	backdrop-filter: blur(15px);
	border-radius: 20px;
	box-shadow: var(--shadow);
	border: 1px solid var(--glass-border);
	animation: fadeIn 1s ease-out;
	position: relative;
	overflow: hidden;
}

.header::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 107, 157, 0.05) 0%, transparent 70%);
	transform: rotate(30deg);
	z-index: -1;
}

.header h1 {
	font-size: 2.8rem;
	margin-bottom: 0.5rem;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 700;
	letter-spacing: 1px;
	position: relative;
	z-index: 1;
}

.header p {
	color: #666;
	font-size: 1.2rem;
	font-weight: 300;
	position: relative;
	z-index: 1;
}

.charts-container {
	flex: 1;
	min-width: 800px;
	background: var(--glass-bg);
	backdrop-filter: blur(15px);
	border-radius: 20px;
	padding: 2rem;
	box-shadow: var(--shadow);
	border: 1px solid var(--glass-border);
	animation: slideInLeft 0.8s ease-out;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.charts-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at center, rgba(255, 182, 193, 0.1) 0%, transparent 70%);
	z-index: -1;
}

.charts-title {
	text-align: center;
	margin-bottom: 2rem;
	color: var(--primary);
	font-size: 1.8rem;
	font-weight: 600;
	position: relative;
}

.charts-title::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: linear-gradient(to right, var(--primary), var(--secondary));
	border-radius: 3px;
}

.charts-wrapper {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.chart-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 200px;
}

.chart-title {
	margin-top: 1rem;
	color: var(--primary);
	font-size: 1.2rem;
	font-weight: 600;
}

.chart {
	width: 180px;
	height: 180px;
}

.controls {
	width: 350px;
	background: var(--glass-bg);
	backdrop-filter: blur(15px);
	border-radius: 20px;
	padding: 2rem;
	box-shadow: var(--shadow);
	border: 1px solid var(--glass-border);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	animation: slideInRight 0.8s ease-out;
	position: relative;
	overflow: hidden;
}

.controls::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at center, rgba(255, 182, 193, 0.1) 0%, transparent 70%);
	z-index: -1;
}

.control-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.control-group h3 {
	color: var(--primary);
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.control-group h3 i {
	color: var(--secondary);
}

.radio-group {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.radio-option {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.7rem 1rem;
	border-radius: 10px;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid var(--glass-border);
}

.radio-option:hover {
	background: rgba(255, 107, 157, 0.1);
	transform: translateY(-2px);
}

.radio-option input {
	accent-color: var(--primary);
	transform: scale(1.2);
}

.radio-option span {
	font-size: 1.05rem;
	color: #444;
}

.time-display {
	font-size: 1.8rem;
	text-align: center;
	padding: 1.5rem;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 15px;
	border: 1px solid var(--glass-border);
	color: var(--primary);
	font-weight: 600;
	letter-spacing: 2px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.time-display::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transition: 0.5s;
}

.description {
	margin-top: 2rem;
	max-width: 1000px;
	background: var(--glass-bg);
	backdrop-filter: blur(15px);
	border-radius: 20px;
	padding: 2rem;
	box-shadow: var(--shadow);
	border: 1px solid var(--glass-border);
	line-height: 1.7;
	animation: fadeInUp 1s ease-out;
	position: relative;
	overflow: hidden;
}

.description::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at center, rgba(255, 182, 193, 0.1) 0%, transparent 70%);
	z-index: -1;
}

.description h2 {
	color: var(--primary);
	margin-bottom: 1.2rem;
	font-size: 1.8rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.description p {
	margin-bottom: 1.2rem;
	color: #555;
	font-size: 1.05rem;
}

.description strong {
	color: var(--primary);
	font-weight: 600;
}

.time-info {
	display: flex;
	justify-content: space-around;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--glass-border);
}

.time-info div {
	text-align: center;
}

.time-info .value {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--primary);
}

.time-info .label {
	font-size: 0.9rem;
	color: #777;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1100px) {
	.dashboard {
		flex-direction: column;
		align-items: center;
	}

	.charts-container,
	.controls {
		width: 100%;
		max-width: 700px;
	}

	.charts-container {
		min-width: auto;
	}
}

@media (max-width: 768px) {
	body {
		padding: 1rem;
	}

	.header h1 {
		font-size: 2.2rem;
	}

	.header p {
		font-size: 1rem;
	}

	.charts-container {
		padding: 1rem;
	}

	.controls {
		padding: 1.5rem;
	}

	.time-display {
		font-size: 1.6rem;
	}

	.charts-wrapper {
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.header h1 {
		font-size: 1.8rem;
	}

	.time-display {
		font-size: 1.4rem;
		padding: 1rem;
	}

	.controls {
		width: 100%;
	}

	.chart {
		width: 150px;
		height: 150px;
	}
}

.footer {
	margin-top: 2rem;
	text-align: center;
	color: #777;
	font-size: 0.9rem;
	padding: 1rem;
}

.footer a {
	color: var(--primary);
	text-decoration: none;
}

.footer a:hover {
	text-decoration: underline;
}